package com.atung.parking.service;

import com.atung.parking.config.result.ApiResult;
import com.atung.parking.config.result.PageInfoResponse;
import com.atung.parking.entity.BusParkingIot;
import com.atung.parking.request.ApprovalParkingIotRequest;
import com.atung.parking.request.query.AppQueryParkingIotRequest;
import com.atung.parking.request.query.QueryParkingIotRequest;
import com.atung.parking.request.save.SaveOrUpdateParkingIotRequest;
import com.atung.parking.response.page.ApprovalRecordResponse;
import com.atung.parking.response.page.HardwareVendorResponse;

import javax.servlet.http.HttpServletResponse;
import java.util.List;

/**
 * @author Administrator
 */
public interface ParkingIotService {
    ApiResult saveParkingIotService(SaveOrUpdateParkingIotRequest request);

    ApiResult approvalParkingIotService(ApprovalParkingIotRequest request);

    PageInfoResponse<BusParkingIot> queryParkingIotListService(QueryParkingIotRequest request);

    List<BusParkingIot> querySimpleParkingIotListService();

    ApiResult appQueryByParkingName(AppQueryParkingIotRequest appQueryParkingIotRequest);

    List<HardwareVendorResponse> queryParkingIotHardwareVendorList();

    List<ApprovalRecordResponse> queryApprovalParkingIotList(Long id);

    void exportParkingIotService(QueryParkingIotRequest request, HttpServletResponse httpServletResponse);

    ApiResult appQueryParkingIotService(AppQueryParkingIotRequest appQueryParkingIotRequest);

    ApiResult appParkingIotDetailsService(Long id);
}
